
[stepper_z1]                                # Right Z steper (E0)
step_pin:                       PC1         # E0 step
dir_pin:                        PA6         # E0 dir
enable_pin:                     !PL7        # E0 enable
microsteps:                     256         # ?
#step_distance:                  0.0125
rotation_distance:              2           # ?
full_steps_per_rotation:        200         # for 0.9° motors - 400
endstop_pin:                    ^PC3       # Z-MAX - PC3; Z-MIN - PA4

[tmc2130 stepper_z1]
cs_pin:                         PF6         #
spi_speed:                      100000
#spi_bus:                        spi0
interpolate:                    False
run_current:                    0.85        # Imax * squart(2) * 80%
hold_current:                   0.425       # ~~ run_current/2
sense_resistor:                 0.110
stealthchop_threshold:          999999
#driver_IHOLDDELAY: 8
#driver_TPOWERDOWN: 0
#driver_TBL: 1
#driver_TOFF: 4
#driver_HEND: 7
#driver_HSTRT: 0
#driver_PWM_AUTOSCALE: True
#driver_PWM_FREQ: 1
#driver_PWM_GRAD: 4
#driver_PWM_AMPL: 128
#driver_SGT:                     -64         # MAX = -2; MIN = 7
#diag0_pin:
#diag1_pin:
